package com.zhangshuo.patternDesign.vistor;

/**
 * Created by shuo.zhang on 2017-11-04.
 */
public class IncomeBill implements IBill {

    private String item ;
    private double count;

    @Override
    public void accept(IVisitor visitor) {
        visitor.visit(this);
    }

    public IncomeBill(String item, double count) {
        this.item = item;
        this.count = count;
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public double getCount() {
        return count;
    }

    public void setCount(double count) {
        this.count = count;
    }
}
